<?php
class ClsNaanalWizard
{
    private $name=null;
    private $objSession=array();
    public function __construct($name)
    {
        $this->name=$name;
        $this->objSession=ClsNaanalSession::getInstance();
        $this->objSession->setPanelData("naanal_wizard_".$name, array());
    }
    public function addPage($name)
    {
        $data=$this->objSession->getPanelData("naanal_wizard_".$this->name);
        $data[$name]=array();
        $this->objSession->setPanelData("naanal_wizard_".$this->name,$data);
    }
    public function addPageData($page,$key,$value)
    {
        $data=$this->objSession->getPanelData("naanal_wizard_".$this->name);
        $data[$page][$key]=$value;
        $this->objSession->setPanelData("naanal_wizard_".$this->name,$data);
    }
}
?>